<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>绘制折线</title>
    <script src="jquery-3.6.0.js"></script>
    <script src="snap.svg.js"></script>
    <style type="text/css">
        * {
            margin: 0;
            padding: 0;
        }
    </style>
</head>
<body>
<svg id="svg-canvas" tabindex="-1" height="2000px" width="2000px"></svg>
<script src="draw-path.js"></script>
</body>
</html>